﻿namespace Luka;

/// <summary>
/// 分页模型
/// </summary>
public class PagedOutput<T> where T : class
{
    /// <summary>
    /// 默认值
    /// </summary>
    public PagedOutput()
    {
        TotalPage = 0;
        TotalNumber = 0;
    }

    /// <summary>
    /// 总页数
    /// </summary>
    public int TotalPage { get; set; }

    /// <summary>
    /// 总数据量
    /// </summary>
    public int TotalNumber { get; set; }

    /// <summary>
    /// 数据
    /// </summary>
    public List<T>? Rows { get; set; }
}